package weatherwidget.isrefluxer.bird.com.birdweatherwidget.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import weatherwidget.isrefluxer.bird.com.birdweatherwidget.constant.WeatherConstant;
import weatherwidget.isrefluxer.bird.com.birdweatherwidget.until.LogUtil;

/**
 * Created by Administrator on 2016/11/23 0023.
 */

public class ServiceReceiver extends BroadcastReceiver {
    private static final String TAG = "ServiceReceiver";
    @Override
    public void onReceive(Context context, Intent intent) {
        LogUtil.log(TAG, "intent.getAction()" + intent.getAction());
        context.sendBroadcast(new Intent(WeatherConstant.ACTION_WEATHER_INIT_UPDATE));
    }
}
